package com.example.myapplication.db.room.dao;

import androidx.room.Dao;
import androidx.room.Insert;
import androidx.room.Query;
import com.example.myapplication.db.room.entity.CalculationParameters;

import java.util.List;

@Dao
public interface CalculationParametersDao {

    @Query("SELECT * FROM calculationparameters order by id desc")
    List<CalculationParameters> getAll();

    @Insert
    void insert(CalculationParameters calculationParameters);
}
